<?php

class DoEvent {

    function DoEvent() {
    }
	public function execute() {
		global $page;
	 	$startTime = microtime(TRUE);
	 	if($_POST[debug]=="on") { 
			define('DEBUG',true);
	 	} else {
	 		define('DEBUG',false);
	 	}
		//print_r($_POST);
		if($_POST[Sender]=="261589289" ||$_POST[Sender]=="941507017") {
			//echo  str_replace("\\0","",$_POST[Message]) ;
		}
		myEcho("deBug模式已经开启\n");
		App :: run();
		$page->info = App::getMess();
		$endTime = microtime(TRUE);
		myEcho("查询数据库次数：".(DB::$sTime));
		myEcho("总时间：".( $endTime-$startTime));
	}
}
?>